<%-- 
    Document   : Delete
    Created on : Nov 23, 2012, 12:10:58 AM
    Author     : Admin
--%>

<%@page import="Connection.PlanDAL"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%
            Integer id=Integer.parseInt(request.getParameter("ItemID"));
            PlanDAL.delete(id);
            out.println("<h1>Successful Deleting<br> Reload page to see the result<h1>");
            response.sendRedirect("BudgetPlanMainPage.jsp");
        %>
    </body>
</html>
